import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import dataV from '@jiaminghi/data-view';
// 引入全局css
import './assets/scss/style.scss';

import Toast from 'vue-toastification';
import 'vue-toastification/dist/index.css';
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
import { ActionSheet } from 'vant';

const options = {
  transition: 'Vue-Toastification__bounce',
  maxToasts: 1,
  position: "top-center",
  timeout: 3000,
  closeOnClick: false,
  pauseOnFocusLoss: true,
  pauseOnHover: true,
  draggable: false,
  draggablePercent: 0.6,
  showCloseButtonOnHover: false,
  hideProgressBar: true,
  closeButton: false,
  icon: true,
  rtl: false
};
const app = createApp(App)
app.use(dataV).use(store).use(router).use(Toast, options).use(VXETable);
app.use(ActionSheet)
app.mount('#app')
